﻿using System;

namespace CoreRay.Testing.MockClasses
{
    //-----------------------------------------------------------------------------------------
    /// <summary>
    /// Mock class for abstract class <see cref="RenderRegionManager"/>.
    /// </summary>
    //-----------------------------------------------------------------------------------------

    public class MockRenderRegionManager : RenderRegionManager
    {
        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="MockRenderRegionManager"/> class.
        /// </summary>
        /// <param name="regionWidth">Width of the render region.</param>
        /// <param name="regionHeight">Height of the render region.</param>
        /// <param name="totalWidth">The total width.</param>
        /// <param name="totalHeight">The total height.</param>
        //-----------------------------------------------------------------------------------------

        public MockRenderRegionManager(int regionWidth, int regionHeight, int totalWidth, int totalHeight) : base(regionWidth, regionHeight, totalWidth, totalHeight)
        {

        }


        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// Gets the next render region.
        /// </summary>
        /// <returns>Next render region.</returns>
        //-----------------------------------------------------------------------------------------

        public override RenderRegion GetNextRenderRegion()
        {
            return null;
        }
    }
}
